@echo off
setlocal enabledelayedexpansion

set "folderPath=C:\Users\yanchao\Documents\学习\qqmusic\src\assets\tuijian\jingdian"  REM 替换为你的文件夹路径

cd "%folderPath%"

set /a count=1

for %%F in (*.png) do (
    set "newName=!count!.png"
    ren "%%F" "!newName!"
    set /a count+=1
)

echo File names changed successfully.

endlocal
